package com.manager.devicemanager.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.annotation.TableName;
import com.manager.devicemanager.entity.Component1;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import java.util.Collection;
import java.util.List;

import com.manager.devicemanager.vo.ComponentStatusRequestVO;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Mapper;
/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author wpf
 * @since 2025-05-29
 */

@Mapper
public interface Component1Mapper extends BaseMapper<Component1> {





   long countdynamicData(@Param("tableName")String tableName);

   List<Component1> getdynamicDataLimit48(@Param("tableName")String tableName);

   List<Component1> getOneComponentLine(@Param("tableName")String tableName, @Param("componentStatusRequestVO") ComponentStatusRequestVO componentStatusRequestVO);
}
